<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单详情</title>
    <link rel="stylesheet" href="__ROOT__/public/static/admin/css/order.css">
    <link rel="stylesheet" href="__ROOT__/public/static/css/common.css">
</head>

<body>
    <!-- 收货人信息 -->
    <div class="orderBox">
        <div class="row">
            <p>
                <span>订单编号：</span>
                <span>{$order.orderID}</span>
            </p>
            <p>
                <span>下单时间：</span>
                <span>{$order.inputtime}</span>
            </p>
            <p><i class="fa fa-trash-o" aria-hidden="true"></i></p>
        </div>
        <div class="row">
            <p>
                <span>总金额：</span>
                <span class="activate_font">{$order.shifu}</span>
            </p>
            <p>
                <span>支付方式：</span>
                <span>{$order.pay_with}</span>
            </p>
        </div>
        <div class="row">
            <p>
                <span>收货人：</span>
                <span>{$order.sname}</span>
            </p>
        </div>
        <div class="row address">
            <p>
                <span>收货地址：</span>
                <span>{$order.address}</span>
            </p>
        </div>

        <!-- 未付款、未评价、已完成 -->
        <div class="row">
            <p>
                <span>订单状态：</span>
                <span class="activate_font">{$order.status}</span>
            </p>
        </div>
        {foreach $shoplists as $shoplist}
        <div class="orderShop">
            <ul class="orderShopBox">
                <li class="jcstart f333"><img src="__ROOT__/public/static/image/{$shoplist.pictures}" alt=""><span
                        class="mt12">{$shoplist.bname}</span></li>
                <li class="mt12">￥{$shoplist.yourprice}</li>
                <li class="mt12">×{$shoplist.num}</li>
                <li class="f333 mt12">￥{$shoplist.yourprice * $shoplist.num}</li>
            </ul>
        </div>
        {/foreach}
    </div>

    {if condition="$order.status eq '未发货'"}
    <form action="{:url('order/send')}" method="post" name="f">
        <div class="btnArea">

            <div>
                <label for="">快递单号: </label>
                <input type="text" name="kddh" placeholder="请输入快递单号">
                <input type="hidden" name="orderID" value="{$order.orderID}">
            </div>
            <button type="submit">发货</button>

        </div>
    </form>
    {/if}
</body>

</html>